Namespaces

Types in MathNet.Numerics.LinearAlgebra.Solvers

Type FailureStopCriterion<T>

Namespace MathNet.Numerics.LinearAlgebra.Solvers

Interfaces IIterationStopCriterion<T>

Defines an IIterationStopCriterion<T> that monitors residuals for NaN's.

Constructors

Methods

Properties

Public Constructors

FailureStopCriterion<T>()

Public Methods

IIterationStopCriterion<T> Clone()

Clones the current FailureStopCriterion<T> and its settings.
Return
IIterationStopCriterion<T>

A new instance of the FailureStopCriterion`1 class.

IterationStatus DetermineStatus(int iterationNumber, Vector<T> solutionVector, Vector<T> sourceVector, Vector<T> residualVector)

Determines the status of the iterative calculation based on the stop criteria stored by the current IIterationStopCriterion<T>. Result is set into Status field.
The individual stop criteria may internally track the progress of the calculation based on the invocation of this method. Therefore this method should only be called if the calculation has moved forwards at least one step.
Parameters
int iterationNumber

The number of iterations that have passed so far.

Vector<T> solutionVector

The vector containing the current solution values.

Vector<T> sourceVector

The right hand side vector.

Vector<T> residualVector

The vector containing the current residual vectors.

bool Equals(object obj)

int GetHashCode()

Type GetType()

void Reset()

Resets the IIterationStopCriterion<T> to the pre-calculation state.

string ToString()

Public Properties

IterationStatus Status get;

Gets the current calculation status.